<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>tango.math.Bessel</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "tango.math.Bessel";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/tango.math.Bessel.html" class="symbol">tango.math.Bessel</a></h1>
  
<div class="summary">Cylindrical Bessel functions of integral order.</div>
<p class="sec_header">License:</p>BSD style: see <a href="http://www.dsource.org/projects/tango/wiki/LibraryLicense">license.txt</a>
<p class="sec_header">Authors:</p>Stephen L. Moshier (original C code). Conversion to D by Don Clugston
<dl>
<dt class="decl">real <a class="symbol _function" name="cylBessel_j0" href="./htmlsrc/tango.math.Bessel.html#L100" kind="function" beg="100" end="135">cylBessel_j0</a><span class="params">(real <em>x</em>)</span>; <a title="Permalink to this symbol" href="#cylBessel_j0" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.math.Bessel.html#L100">#</a></dt>
<dd class="ddef">
<div class="summary">Bessel function of order zero</div>
Returns Bessel function of first kind, order zero of the argument.</dd>
<dt class="decl">real <a class="symbol _function" name="cylBessel_y0" href="./htmlsrc/tango.math.Bessel.html#L144" kind="function" beg="144" end="211">cylBessel_y0</a><span class="params">(real <em>x</em>)</span>; <a title="Permalink to this symbol" href="#cylBessel_y0" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.math.Bessel.html#L144">#</a></dt>
<dd class="ddef">
<div class="summary">Bessel function of the second kind, order zero
 Also known as the cylindrical Neumann function, order zero.</div>
Returns Bessel function of the second kind, of order
 zero, of the argument.</dd>
<dt class="decl">real <a class="symbol _function" name="cylBessel_j1" href="./htmlsrc/tango.math.Bessel.html#L218" kind="function" beg="218" end="252">cylBessel_j1</a><span class="params">(real <em>x</em>)</span>; <a title="Permalink to this symbol" href="#cylBessel_j1" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.math.Bessel.html#L218">#</a></dt>
<dd class="ddef">
<div class="summary">Bessel function of order one</div>
Returns Bessel function of order one of the argument.</dd>
<dt class="decl">real <a class="symbol _function" name="cylBessel_y1" href="./htmlsrc/tango.math.Bessel.html#L260" kind="function" beg="260" end="340">cylBessel_y1</a><span class="params">(real <em>x</em>)</span>; <a title="Permalink to this symbol" href="#cylBessel_y1" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.math.Bessel.html#L260">#</a></dt>
<dd class="ddef">
<div class="summary">Bessel function of the second kind, order zero</div>
Returns Bessel function of the second kind, of order
 zero, of the argument.</dd>
<dt class="decl">real <a class="symbol _function" name="cylBessel_jn" href="./htmlsrc/tango.math.Bessel.html#L360" kind="function" beg="360" end="424">cylBessel_jn</a><span class="params">(int <em>n</em>, real <em>x</em>)</span>; <a title="Permalink to this symbol" href="#cylBessel_jn" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.math.Bessel.html#L360">#</a></dt>
<dd class="ddef">
<div class="summary">Bessel function of integer order</div>
Returns Bessel function of order n, where n is a
 (possibly negative) integer.
<p class="bl"/>
 The ratio of jn(x) to j0(x) is computed by backward
 recurrence.  First the ratio jn/jn-1 is found by a
 continued fraction expansion.  Then the recurrence
 relating successive orders is applied until j0 or j1 is
 reached.
<p class="bl"/>
 If n = 0 or 1 the routine for j0 or j1 is called
 directly.
<p class="sec_header"><span class="red">Bugs:</span></p>Not suitable for large n or x.</dd>
<dt class="decl">real <a class="symbol _function" name="cylBessel_yn" href="./htmlsrc/tango.math.Bessel.html#L439" kind="function" beg="439" end="474">cylBessel_yn</a><span class="params">(int <em>n</em>, real <em>x</em>)</span>; <a title="Permalink to this symbol" href="#cylBessel_yn" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.math.Bessel.html#L439">#</a></dt>
<dd class="ddef">
<div class="summary">Bessel function of second kind of integer order</div>
Returns Bessel function of order n, where n is a
 (possibly negative) integer.
<p class="bl"/>
 The function is evaluated by forward recurrence on
 n, starting with values computed by the routines
 cylBessel_y0() and cylBessel_y1().
<p class="bl"/>
 If n = 0 or 1 the routine for cylBessel_y0 or cylBessel_y1 is called
 directly.</dd>
<dt class="decl">double <a class="symbol _function" name="cylBessel_i0" href="./htmlsrc/tango.math.Bessel.html#L505" kind="function" beg="505" end="543">cylBessel_i0</a><span class="params">(double <em>x</em>)</span>; <a title="Permalink to this symbol" href="#cylBessel_i0" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.math.Bessel.html#L505">#</a></dt>
<dd class="ddef">
<div class="summary">Modified Bessel function of order zero</div>
Returns modified Bessel function of order zero of the
 argument.
<p class="bl"/>
 The function is defined as i0(x) = j0( ix ).
<p class="bl"/>
 The range is partitioned into the two intervals [0,8] and
 (8, infinity).  Chebyshev polynomial expansions are employed
 in each interval.</dd>
<dt class="decl">double <a class="symbol _function" name="cylBessel_i1" href="./htmlsrc/tango.math.Bessel.html#L557" kind="function" beg="557" end="596">cylBessel_i1</a><span class="params">(double <em>x</em>)</span>; <a title="Permalink to this symbol" href="#cylBessel_i1" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.math.Bessel.html#L557">#</a></dt>
<dd class="ddef">
<div class="summary">Modified Bessel function of order one</div>
Returns modified Bessel function of order one of the
 argument.
<p class="bl"/>
 The function is defined as i1(x) = -i j1( ix ).
<p class="bl"/>
 The range is partitioned into the two intervals [0,8] and
 (8, infinity).  Chebyshev polynomial expansions are employed
 in each interval.</dd></dl>
</div>
<div id="footer">
  <p>Based on the CEPHES math library, which is
            Copyright (C) 1994 Stephen L. Moshier (moshier@world.std.com).</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 04:04:14 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>